    <div class="isi">
        <?php
        $atr = array('id' => 'formID',
            'class' => 'formular');
        echo form_open_multipart('admin_sellshare/simpan', $atr);
        ?> 
        <input type="hidden"  name="id" id="id"  value="<?php echo $id ?>"/>
        <input type="hidden"  name="status" id="status"  value="<?php echo $status ?>"/>
        <table width="100%" >
            <tr>
                <td width="15%" ><p> Date  </p> </td>
                <td><p> : </p> </td>
                <td> <input type="text" id="tanggal" name="tanggal" class="validate[required,custom[date]] text-input" value="<?php echo $tanggal;?>"> </td>
            </tr>
            <tr>
                <td width="15%" ><p> Securities </p> </td>
                <td><p> : </p> </td>
                <td>
					<select name="securities" id="securities" class="validate[required] text-input" >
                        <option value="">Securities : </option>
                        <?php
                        foreach ($securities_list as $dta) {
							if($dta->security_code == $securities){
								echo "<option value='$dta->security_code' selected='selected'> $dta->security_code</option>";
							} else {
								echo "<option value='$dta->security_code'> $dta->security_code</option>";
							}
                            
                        }
                        ?>
                    </select>
                </td>
            </tr>
            <tr>
                <td width="15%" ><p> Stock </p> </td>
                <td><p> : </p> </td>
                <td>
					<select name="stock" id="stock" class="validate[required] text-input" >
                        <option value="">Stock : </option>
                        <?php
                        foreach ($stock_list as $dta) {
							if($dta->symbol == $stock){
								echo "<option value='$dta->symbol' selected='selected'> $dta->symbol</option>";
							} else {
								echo "<option value='$dta->symbol'> $dta->symbol</option>";
							}
                            
                        }
                        ?>
                    </select>
                </td>
            </tr>           
            <tr>
                <td width="15%"><p> Quantity  </p> </td>
                <td><p> : </p> </td>
                <td> <input type="text" name="qty" id="qty" size="5" class="validate[required,custom[integer]] text-input" value='<?php echo $qty;?>'/> </td>
            </tr>   
            <tr>
                <td width="15%"><p> Price </p> </td>
                <td><p> : </p> </td>
                <td> <input type="text" name="price" id="price" size="20" class="validate[required,custom[integer]]" value='<?php echo $price;?>' /> </td>
            </tr>   
			<tr>
                <td width="15%"><p> Note </p> </td>
                <td><p> : </p> </td>
                <td> <input type="text" name="note" id="note" size="50" value='<?php echo $note;?>' /> </td>
            </tr>
        </table>
        <br/>
        <?php echo anchor("admin_sellshare", "Back", "class='button' style='color:#f8f8f8'"); ?>
        <input type="submit" value="         Process       " class="button"/>
    </form>
    <div class="clear"></div>
    </div>